<?php

/**
 * layout.phtml
 * 
 * The Default layout for site
 * 
 * Created on Feb 21, 2010
 * @author Jason Motes
 * 
 * @copyright <COPYRIGHT_HOLDER>
 * 
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License Version2
 *
 * @package clrdvol_Layout_Default
 * 
 * @version $Id: layout.phtml 41 2010-03-17 05:35:57Z jsmotes@gmail.com $
 */
?>
<?php echo $this->doctype() ?>

<html xmlns="http://www.w3.org/1999/xhtml"> 
<head>    
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <?php echo $this->headMeta() ?>
  
  <?php echo $this->headLink()->appendStylesheet('/styles/default.css') ?>
  
  <?php echo $this->headTitle();?>

 <link rel='index' title='<?php echo $this->siteTitle; ?>' href='http://www.clrdvol.org' />
</head>

<body>
  <div id="wrapper">
    <div id="header">
      <div class="extras">
        page login | extra 2 | created on:
      </div>
      <div class="site_title" title="<?php echo $this->layout()->siteTitle['title']; ?>">
        <?php echo $this->layout()->siteTitle['name']; ?>
      </div>
      <div class="page_title">
        <?php echo $this->layout()->pageTitle; ?>
      </div>
    </div>
    <div id="bar">
      <ul>
        <?php foreach ($this->layout()->navLinks as $page => $attribs): ?>
        <li title="<?php echo $attribs['title']; ?>">
          <a href="<?php echo $attribs['link']; ?>"><?php echo $attribs['name']; ?></a>
        </li>
        <?php endforeach;?>
      </ul>
    </div>
    <div id="body">
      <div id="tools">
        <div class="title">
          Menu
        </div>
        <ul>
        <?php foreach ($this->layout()->menu as $menu => $attribs): ?>
        <li title="<?php echo $attribs['title']; ?>">
          <a href="<?php echo $attribs['link']; ?>"><?php echo $attribs['name']; ?></a>
        </li>
        <?php endforeach;?>
        </ul>
      </div>
      <div id="content">
        <div class="content">
          <?php echo $this->layout()->content; ?>
        </div>
      </div>
    </div>
    <div id="footer">
      <div class="links">
        <?php foreach ($this->layout()->navLinks as $page => $attribs): ?>
          <a href="<?php echo $attribs['link']; ?>" title="<?php echo $attribs['title']; ?>"><?php echo $attribs['name']; ?></a>
        <?php endforeach; ?>
     </div>
    </div>
  </div>
</body>
</html>